package group.systemdesign.Service.Impl;

import group.systemdesign.Mapper.LoginMapper;
import group.systemdesign.Pojo.User;
import group.systemdesign.Service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;
    @Override
    public User login(String username, String password) {
        return loginMapper.login(username,password);
    }
}
